<template>
  <div class="instructions">
    <c-title :hide="false" :text="'拍卖须知'"></c-title>
    <div id="goods_content" v-html="instr"></div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      instr: ""
    };
  },
  activated() {
    this.getData();
  },
  methods: {
    async getData() {
      let { data, msg, result } = await $http.post("plugin.new-auction.frontend.activity.categoryList", {}, "");
      if (result) {
        this.instr = data.rule;
      } else {
        this.$toast(msg);
      }
    }
  }
};
</script>
<style lang="scss" scoped>
.instructions {
  padding: 0.75rem;
  box-sizing: border-box;
  min-height: 100vh;
  background: #ffffff;
}
</style>
